package com.macroye.remote;


import com.macroye.entity.req.BrokerLoginVo;
import com.macroye.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 经纪人登录调用
 */
@FeignClient(contextId = "brokerRemote", value = "macroye-broker",
        path = "/broker")
public interface BrokerRemote {

    /**
     * 查找用户
     * @return
     */
    @PostMapping("/brokerLogin")
    public Result<BrokerLoginVo> brokerLogin(@RequestBody BrokerLoginVo brokerLoginVo);
}



